package ywpt.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import ywpt.components.acegi.domain.User;

public class BaoxiaoInfo implements java.io.Serializable{

	/**
	 * 费用报销
	 */
	private static final long serialVersionUID = 968487196731746692L;
	private Long id;//   Id      
	private String code;//   Code   ���ݺ���
	private Date fillDate;//   Fill_Date  ��д����
	private Double allAmount;//   Cost_Amount ���ö��
	private Boolean submitFlag;//   Submit_Flag �Ƿ��ύ
	private Boolean toVoid; //	To_Void	�Ƿ����� 
	private PeopleInfo owner;
	private Boolean checkFlag;//   Check_Flag ���
	private PeopleInfo checker;//   Checker �����
	private int version;//   Version  �汾��
	private Boolean deleteFlag;//   Delete_Flag�Ƿ�ɾ��
	private Date createDate;//   Create_Date ����ʱ��
	private User creater;//   Creater  ������
	private Date modifyDate;//   Modify_Date ����޸�ʱ��
	private User modifyer;//   Modifyer ����޸���
	private Set<BaoxiaoDtl> dtlSet = new HashSet<BaoxiaoDtl>();//
	
	public BaoxiaoInfo() {
		this.allAmount=0.00;
		this.submitFlag=false;
		this.checkFlag = false;
		this.deleteFlag = false;
		this.toVoid=false;
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Date getFillDate() {
		return fillDate;
	}
	public void setFillDate(Date fillDate) {
		this.fillDate = fillDate;
	}
 
	public Double getAllAmount() {
		return allAmount;
	}

	public void setAllAmount(Double allAmount) {
		this.allAmount = allAmount;
	}

	public Boolean getSubmitFlag() {
		return submitFlag;
	}
	public void setSubmitFlag(Boolean submitFlag) {
		this.submitFlag = submitFlag;
	}
	public Boolean getCheckFlag() {
		return checkFlag;
	}
	public void setCheckFlag(Boolean checkFlag) {
		this.checkFlag = checkFlag;
	}
 
	public PeopleInfo getChecker() {
		return checker;
	}

	public void setChecker(PeopleInfo checker) {
		this.checker = checker;
	}

	public int getVersion() {
		return version;
	}
	public void setVersion(int version) {
		this.version = version;
	}
	public Boolean getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Boolean deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public User getCreater() {
		return creater;
	}
	public void setCreater(User creater) {
		this.creater = creater;
	}
	public Date getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	public User getModifyer() {
		return modifyer;
	}
	public void setModifyer(User modifyer) {
		this.modifyer = modifyer;
	}
	public Set<BaoxiaoDtl> getDtlSet() {
		return dtlSet;
	}
	public void setDtlSet(Set<BaoxiaoDtl> dtlSet) {
		this.dtlSet = dtlSet;
	}

	public Boolean getToVoid() {
		return toVoid;
	}

	public void setToVoid(Boolean toVoid) {
		this.toVoid = toVoid;
	}

	public PeopleInfo getOwner() {
		return owner;
	}

	public void setOwner(PeopleInfo owner) {
		this.owner = owner;
	}
	
	
	
}
